<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	<head>
		<title>
		</title>
	</head>
	<body>
		<ui:composition template="/templates/masterLayout.xhtml">
			<ui:define name="windowTitle">
				<h:outputText value="#{msgs['emgmt.create.title']}" />
			</ui:define>
			<ui:define name="content">
				<h:form id="createEmployeeForm">
					<p:panel header="#{msgs['emgmt.create.form.header']}">
						<h:panelGrid columns="2">
							<h:outputLabel value="#{msgs['emgmt.create.form.name']}" />
							<p:inputText value="#{createEmployeeBean.name}" />
							<h:outputLabel value="#{msgs['emgmt.create.form.salary']}" />
							<p:inputText value="#{createEmployeeBean.salary}" />
							<p:commandButton value="#{msgs['emgmt.create.form.reset']}" action="#{createEmployeeBean.reset}" ajax="false" />
							<p:commandButton value="#{msgs['emgmt.create.form.commit']}" action="#{createEmployeeBean.createEmployee}" />
						</h:panelGrid>
					</p:panel>
				</h:form>
			</ui:define>
		</ui:composition>
	</body>
</html>